package ezonsport.android.core.stepSystem;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;


@DatabaseTable(tableName = "T_StepData")
public class StepData extends SportData {
	@DatabaseField
	private int steps;// 步数
	@DatabaseField
	private int duration;// 运动时间
	@DatabaseField
	private int distance;// 运动距离
	@DatabaseField
	private int calories;// 消耗卡路里

	public StepData() {
	}

	public int getSteps() {
		return steps;
	}

	public void setSteps(int steps) {
		this.steps = steps;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}

	public int getCalories() {
		return calories;
	}

	public void setCalories(int calories) {
		this.calories = calories;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("StepData [steps=");
		builder.append(steps);
		builder.append(", duration=");
		builder.append(duration);
		builder.append(", distance=");
		builder.append(distance);
		builder.append(", calories=");
		builder.append(calories);
		return builder.toString();
	}

}
